package cn.hqm.hqmtechnology.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 角色表
 */

@Data
@TableName("sys_member_role")
@ApiModel(value = "sys_member_role", description = "实体对象: 角色表")
public class MemberRole {
	/** 主键 */
	@ApiModelProperty(value = "主键")
    @TableField(value = "id")
	@TableId(type = IdType.AUTO)
	private Long id;
	/** 用户主键 */
	@ApiModelProperty(value = "用户主键")
    @TableField(value = "member_id")
	private Long memberId;
	/** 0 root, 1 user */
	@ApiModelProperty(value = "0 root, 1 user")
    @TableField(value = "type")
	private Integer type;
	/** 新增时间 */
	@ApiModelProperty(value = "新增时间")
    @TableField(value = "create_time")
	private LocalDateTime createTime;
	/** 是否删除 deleted == 0? false: true */
	@ApiModelProperty(value = "是否删除 deleted == 0? false: true")
    @TableField(value = "deleted")
	private Integer deleted;
	
}